#ifndef __WORKER_H__
#define __WORKER_H__

#define FLAG_BUTTONSTATE 	0
#define FLAG_CLICK 			1
#define FLAG_PAUSE			2
#define FLAG_ROT 			3
#define FLAG_MOVE    		4
#define FLAG_NEWFIG 		5
#define FLAG_WORKER     	6
#define FLAG_GAMEOVER		7

void ClearTetrisMatrix(void);
void UpdateTetrixMatrix(unsigned long ulRowOffset);
void ClearDisplayBuf(void);
void CopyToLastNoCollision(void);
void CheckFlags(void);
void RowDel(unsigned char ucRowPos);
void RowCheck(void);
void Worker(void);

#endif // __WORKER_H__
